<template>
  <div>
    <div>
      <el-dialog title="提示" :visible="permissionShow" width="30%">
        <span>这是一段信息</span>
        <span slot="footer" class="dialog-footer">
          <el-button @click="cancel">取 消</el-button>
          <el-button type="primary">确 定</el-button>
        </span>
      </el-dialog>
    </div>
  </div>
</template>

<script lang="js">
export default {
  name: 'ComponentPermissionShow',
  props: {
    permissionShow: Boolean
  },
  data() {
    return {
      permissionForm: {
        name: '1'
      }, // 权限列表
      permissionShow: false
    }
  },
  mounted() {
    //   新增弹窗
    // this.$emit('permissionShow', false)
  },
  methods: {
    cancel() {
      this.permissionShow = false
    }
  }

}
</script>

<style lang="scss" scope></style>
